package pl.softech.oldchart;

import java.awt.geom.Point2D;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

import pl.softech.oldchart.AbstractGraph2DModel;

public class SimpleData2 extends AbstractGraph2DModel {

	private List<Point2D> list = new LinkedList<Point2D>();
	
	public SimpleData2() {
		
		list.add(new Point2D.Double(-10,-5));
		list.add(new Point2D.Double(-5,-5));
		list.add(new Point2D.Double(-5,-1));
		list.add(new Point2D.Double(0,4));
		list.add(new Point2D.Double(4,4));
		list.add(new Point2D.Double(6,2));
		list.add(new Point2D.Double(8,2));
		
	}
	
	
	@Override
	public double getMaxX() {
		
		return 10;
	}

	@Override
	public double getMaxY() {
		
		return 10;
	}

	@Override
	public double getMinX() {
		
		return -10;
	}

	@Override
	public double getMinY() {
		
		return -10;
	}

	@Override
	public Collection<Point2D> getPoints() { return list; }

	@Override
	public Map<Point2D, String> getPointsLabels() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Map<Double, String> getXAxisLabels() {
		
		return null;
	}

	@Override
	public Map<Double, String> getYAxisLabels() {
		
		return null;
	}

	@Override
	public boolean showXAxisLabels() {
		// TODO Auto-generated method stub
		return true;
	}

	@Override
	public boolean showYAxisLabels() {
		// TODO Auto-generated method stub
		return true;
	}


	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return "Łamana";
	}
	
}
